<?php
/**
 * Created by PhpStorm.
 * User: liuhongchuan
 * Date: 2018/7/6
 * Time: 11:01
 */
namespace App\Http\Controllers\Home;

namespace App\Http\Controllers\Home;

use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    public function index()
    {
        if (is_mobile()) {
            return view('home.index_mobile');
        }
        return view('home.index');
    }
}